<script setup lang="ts">

</script>

<template>
  <div class="home-all">
    <div class="home-left">
      <div class="notice-left_btn">
        <el-button class="notice-btn" plain color="#03E0EE">工作引导</el-button>
        <el-button class="notice-btn" plain color="#03E0EE">比赛模式</el-button>
        <el-button class="notice-btn" plain color="#03E0EE">实验模式</el-button>
      </div>
      <div class="home-left_cont">
        <div class="home-left-img">
          <img src="@/assets/public.png" alt="">
        </div>
      </div>
    </div>
    <div class="home-right">
      <div class="home-right-top">
        <div class="public-app public-list_tit" />
        <div class="notice-list">
          <div class="notice-li">
            <div class="notice-li_date">07:00～09:00</div>
            <div class="notice-text notice-red">已结束</div>
          </div>
          <div class="notice-li">
            <div class="notice-li_date">07:00～09:00</div>
            <div class="notice-text notice-blue">进行中</div>
          </div>
          <div class="notice-li">
            <div class="notice-li_date">07:00～09:00</div>
            <div class="notice-text notice-blue">下一场</div>
          </div>
        </div>
      </div>
      <div class="home-right-table">
        <div class="public-alarm public-list_tit" />
        <div class="notice-user">
          <div class="user-li">
            <div class="user-li_left">
              <img src="@/assets/public.png" alt="" />
              <div class="user-left_cont">
                <div class="user-left_tit">装置名称：智能电表B（电压）</div>
                <div class="user-left_name"><span>姓名：张三</span><span>性别：男</span><span>考位：001</span></div>
                <div class="user-left_num">身份证号：827039********6</div>
              </div>
            </div>
            <div class="notice-right">
              98分
            </div>
          </div>
          <div class="user-li">
            <div class="user-li_left">
              <img src="@/assets/public.png" alt="" />
              <div class="user-left_cont">
                <div class="user-left_tit">装置名称：智能电表B（电压）</div>
                <div class="user-left_name"><span>姓名：张三</span><span>性别：男</span><span>考位：001</span></div>
                <div class="user-left_num">身份证号：827039********6</div>
              </div>
            </div>
            <div class="notice-right">
              98分
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<style scoped lang="less">
.home-all{
  display: flex;
  .home-left{
    width: 1402px;
    padding-top: 45px;
  }
}

.notice-left_btn{
  margin-bottom: 6px;
  .notice-btn{
    background: rgba(255,255,255,0) !important;
    width: 115px;
    height: 39px;
    line-height: 39px;
  }
}

.home-left_cont{
  background: url("@/assets/home/home-bg.png") no-repeat;
  width: 100%;
  height: 895px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-left-img{
  width: 1099px;
  height: 631px;
  img{
    width: 100%;
    height: 100%;
  }
}

.notice-list{
  padding: 16px 41px 12px;
  display: flex;
  align-items: center;
  flex-direction: column;
  .notice-li{
    background: url("@/assets/notice-date.png") no-repeat;
    width: 419px;
    height: 117px;
    margin-top: 6px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    .notice-li_date{
      position: absolute;
      left: 50%;
      top: 0;
      transform: translate(-50%,0);
      font-family: YouSheBiaoTiHei;
      font-size: 24px;
      color: #fff;
      font-style: normal;
    }
    .notice-text{
      font-family: YouSheBiaoTiHei;
      font-size: 32px;
      font-style: normal;
      margin-top: 30px;
    }
  }
}

.notice-red{
  color: #FFAA3A;
}

.notice-blue{
  color: #0BE8F6;
}

.notice-user{
  padding: 27px 60px 0 43px;
  .user-li{
    display: flex;
    align-items: center;
    padding: 8px;
    background: #0E233E;
    margin-bottom: 13px;
    &.user-li:last-child{
      margin-bottom: 0;
    }
    .user-li_left{
      display: flex;
      align-items: center;
      flex: 2;
      img{
        width: 59px;
        height: 83px;
        margin-right: 10px;
      }
      .user-left_tit{
        font-family: PingFangSC, PingFang SC;
        font-weight: 500;
        font-size: 16px;
        color: #0BE8F6;
        font-style: normal;
      }
      .user-left_name{
        margin: 6px 0 3px;
        display: flex;
        align-items: center;
        span{
          margin-right: 14px;
          &span:last-child{
            margin-right: 0;
          }
        }
      }
      .user-left_name,.user-left_num{
        font-family: PingFangSC, PingFang SC;
        font-weight: 400;
        font-size: 14px;
        color: #fff;
        font-style: normal;
      }
    }
    .notice-right{
      flex: 0.4;
      font-family: PingFangSC, PingFang SC;
      font-weight: 500;
      font-size: 21px;
      color: #0BE8F6;
      font-style: normal;
    }
  }
}

.public-app{
  background: url("@/assets/list-tit11.png") no-repeat;
}

.public-alarm{
  background: url("@/assets/list-tit12.png") no-repeat;
}

</style>
